//
//  BaseViewController.h
//  BuyVegetable
//
//  Created by yushanchang on 16/10/12.
//  Copyright © 2016年 com.yinding. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "MBProgressHUD.h"
#import "MBProgressHUD+MJ.h"
#import "BVUser.h"
#import "UIImageView+WebCache.h"

@interface BaseViewController : UIViewController

@property (nonatomic, strong) BVUser *user;
@property (nonatomic, strong) MBProgressHUD *hud;


#pragma mark - 
#pragma mark - MBProgressHUD提示相关
- (void)showMessage:(NSString *)text;
- (void)showError:(NSString *)test;
- (void)showSuccess:(NSString *)text;
- (void)showWarning:(NSString *)warning;

@end
